package com.jswlw.dao.base;

import com.jswlw.entity.base.RoleMenu;

import java.util.List;
import java.util.Map;

public interface RoleMenuMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RoleMenu record);

    int insertSelective(RoleMenu record);

    RoleMenu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RoleMenu record);

    int updateByPrimaryKey(RoleMenu record);

    int findCount(Map map);

    List<RoleMenu> findAll(Map condition);

    void delete4Role(Integer roleId);

}